package com.wsoft.form.query.operation;

import com.wsoft.entity.BasePage;
import com.wsoft.form.dto.operation.OperationFilterDTO;
import com.wsoft.form.dto.operation.OperationOrderDTO;
import com.wsoft.form.dto.operation.OperationTableColumnDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @Author z001
 * @Date 2024/9/8 08:54
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class OperationListQuery extends BasePage {


    @Schema(description = "设计表id")
    private Long designId;

    @NotNull
    @Schema(description = "是否为主表")
    private Integer isMaster;

    @Schema(description = "主表id")
    private Long masterId;

    @Schema(description = "显示字段集合")
    private List<OperationTableColumnDTO> tableColumnList;

    @Schema(description = "过滤集合")
    private List<OperationFilterDTO> filterList;

    @Schema(description = "排序集合")
    private List<OperationOrderDTO> orderList;
}
